create pandas dataframe with random numbers

35

create pandas dataframe with random numbers -

#using numpy's randint
df = pd.DataFrame(np.random.randint(0,100,size=(15, 4)), columns=list('ABCD'))

Comments

Submit
0 Comments